package org.i1510.mflow.po;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;  
@Entity
@Table(name = "MFLOW_MAIN")
public class MflowMain implements java.io.Serializable {
    private String docId;
    /**
     * 
     */
    private String docSubject;
    /**
     * 节点状态： 
     * 00:废弃 
     * 10:草稿 
     * 20:已审批 21:催办 22:驳回 23:待审批
     * 30:发布
     */
    private String docStatus;
    private String docCreator;
    private String docCreateTime;
    private String docLastor;
    private String docLastTime;
    /**
     * 节点ID
     * 0  流程开始节点(docStatus:10) 流程结束节点(docStatus:30)
     * 1  节点信息
     */
    private Integer fdNodeId;
    /**
     * 当前节点(只有0节点才有该信息)
     */
    private Integer fdCurNodeId;
    /**
     * 节点用户微信号
     */
    private String fdWxOpenId;
    /**
     * 当前节点审批用户微信号(只有0节点才有该信息)
     */
    private String fdCurWxOpenId;
    /**
     * 节点审批描述 
     */
    private String fdDesc;
    /**
     * 当前节点审批描述(只有0节点才有该信息)
     */
    private String fdCurDesc;
	/**
     * 流程关联模版
     */
    private String fdMflowTpl;
    /**
     * 节点关联流程节点0的ID，节点为0时为空
     */
    private String fdMflowMain;
    

    
    @Column(name = "fd_curnodeid",  length = 3)
	public Integer getFdCurNodeId() {
		return fdCurNodeId;
	}
	public void setFdCurNodeId(Integer fdCurNodeId) {
		this.fdCurNodeId = fdCurNodeId;
	}
	@Column(name = "fd_curwxopenid",  length = 100)
	public String getFdCurWxOpenId() {
		return fdCurWxOpenId;
	}
	public void setFdCurWxOpenId(String fdCurWxOpenId) {
		this.fdCurWxOpenId = fdCurWxOpenId;
	}
	@Column(name = "fd_curdesc",  length = 1000)
	public String getFdCurDesc() {
		return fdCurDesc;
	}
	public void setFdCurDesc(String fdCurDesc) {
		this.fdCurDesc = fdCurDesc;
	}
	@Column(name = "fd_nodeid",  length = 3)
	public Integer getFdNodeId() {
		return fdNodeId;
	}
	public void setFdNodeId(Integer fdNodeId) {
		this.fdNodeId = fdNodeId;
	}
    @Column(name = "fd_wxopenid",  length = 100)
	public String getFdWxOpenId() {
		return fdWxOpenId;
	}
	public void setFdWxOpenId(String fdWxOpenId) {
		this.fdWxOpenId = fdWxOpenId;
	}
	@Column(name = "fd_desc",  length = 1000)
	public String getFdDesc() {
		return fdDesc;
	}
	public void setFdDesc(String fdDesc) {
		this.fdDesc = fdDesc;
	}
	@Column(name = "fd_mflowtpl",  length = 36)
	public String getFdMflowTpl() {
		return fdMflowTpl;
	}
	public void setFdMflowTpl(String fdMflowTpl) {
		this.fdMflowTpl = fdMflowTpl;
	}
	@Column(name = "fd_mflowmain",  length = 36)
	public String getFdMflowMain() {
		return fdMflowMain;
	}
	public void setFdMflowMain(String fdMflowMain) {
		this.fdMflowMain = fdMflowMain;
	}
	public MflowMain() {
    }
    @Id
    @Column(name = "doc_id", nullable = false, length = 36)
    public String getDocId() {
        return docId;
    }
    public void setDocId(String docId) {
        this.docId = docId;
    }
    @Column(name = "doc_subject",  length = 100)
    public String getDocSubject() {
        return docSubject;
    }
    public void setDocSubject(String docSubject) {
        this.docSubject = docSubject;
    }
    @Column(name = "doc_status",  length = 2)
    public String getDocStatus() {
        return docStatus;
    }
    public void setDocStatus(String docStatus) {
        this.docStatus = docStatus;
    }
    @Column(name = "doc_creator",  length = 36)
    public String getDocCreator() {
        return docCreator;
    }
    public void setDocCreator(String docCreator) {
        this.docCreator = docCreator;
    }
    @Column(name = "doc_create_time",  length = 19) 
    public String getDocCreateTime() {
        return docCreateTime;
    }
    public void setDocCreateTime(String docCreateTime) {
        this.docCreateTime = docCreateTime;
    }
    @Column(name = "doc_lastor",  length = 36)
    public String getDocLastor() {
        return docLastor;
    }
    public void setDocLastor(String docLastor) {
        this.docLastor = docLastor;
    }
    @Column(name = "doc_last_time",  length = 19)
    public String getDocLastTime() {
        return docLastTime;
    }
    public void setDocLastTime(String docLastTime) {
        this.docLastTime = docLastTime;
    }
}